package com.bawei.mvvm.db

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.bawei.mvvm.entity.BannerData

@Dao
interface BannerDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(bannerData: BannerData)

    @Query("select * from banner")
    fun select():MutableList<BannerData>


}